﻿using HardcoreGame.Common.Systems;
using Terraria;
using Terraria.ModLoader;

namespace HardcoreGame.Common.Conditions
{
    public static class RecipeConditions
    {
        public static Condition NotInSnowBiome = new("Mods.HardcoreGame.Conditions.1", () => !Main.LocalPlayer.ZoneSnow);
        public static Condition Spring = new("Mods.HardcoreGame.Conditions.2", () => ModContent.GetInstance<SeasonSystem>().currentSeason is Cores.Seasons.Spring);
        public static Condition Summer = new("Mods.HardcoreGame.Conditions.3", () => ModContent.GetInstance<SeasonSystem>().currentSeason is Cores.Seasons.Summer);
        public static Condition Autumn = new("Mods.HardcoreGame.Conditions.4", () => ModContent.GetInstance<SeasonSystem>().currentSeason is Cores.Seasons.Autumn);
        public static Condition Winter = new("Mods.HardcoreGame.Conditions.5", () => ModContent.GetInstance<SeasonSystem>().currentSeason is Cores.Seasons.Winter);
        public static Condition FisningBan = new("Mods.HardcoreGame.Condition.6", () => EventSystem.activeEvents.Contains(2));

    }
}
